package com.shop.bean;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class Goods {
    private Integer id;
    private Integer bigId;
    private Integer smallId;
    private String goodsName;
    private String goodsFrom;
    private String introduce;
    private Timestamp createTime;
    private BigDecimal nowPrice;
    private BigDecimal freePrice;
    private Integer number;
    private String picture;
    private Byte mark;

    public Goods() {
    }

    public Goods(Integer id, Integer bigId, Integer smallId, String goodsName, String goodsFrom, String introduce, Timestamp createTime, BigDecimal nowPrice, BigDecimal freePrice, Integer number, String picture, Byte mark) {
        this.id = id;
        this.bigId = bigId;
        this.smallId = smallId;
        this.goodsName = goodsName;
        this.goodsFrom = goodsFrom;
        this.introduce = introduce;
        this.createTime = createTime;
        this.nowPrice = nowPrice;
        this.freePrice = freePrice;
        this.number = number;
        this.picture = picture;
        this.mark = mark;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", bigId=" + bigId +
                ", smallId=" + smallId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsFrom='" + goodsFrom + '\'' +
                ", introduce='" + introduce + '\'' +
                ", createTime=" + createTime +
                ", nowPrice=" + nowPrice +
                ", freePrice=" + freePrice +
                ", number=" + number +
                ", picture='" + picture + '\'' +
                ", mark=" + mark +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBigId() {
        return bigId;
    }

    public void setBigId(Integer bigId) {
        this.bigId = bigId;
    }

    public Integer getSmallId() {
        return smallId;
    }

    public void setSmallId(Integer smallId) {
        this.smallId = smallId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsFrom() {
        return goodsFrom;
    }

    public void setGoodsFrom(String goodsFrom) {
        this.goodsFrom = goodsFrom;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getNowPrice() {
        return nowPrice;
    }

    public void setNowPrice(BigDecimal nowPrice) {
        this.nowPrice = nowPrice;
    }

    public BigDecimal getFreePrice() {
        return freePrice;
    }

    public void setFreePrice(BigDecimal freePrice) {
        this.freePrice = freePrice;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Byte getMark() {
        return mark;
    }

    public void setMark(Byte mark) {
        this.mark = mark;
    }
}
